User behavior analytics and heatmap tracking
Add this script to your website's <head> section:
<script>
window.IntentMapConfig = {
apiEndpoint: 'https://your-api-server.com/api',
trackingEnabled: true,
trackClicks: true,
trackScrolls: true,
trackMousemove: false,
debug: false
};
</script>
<script src="https://your-cdn-url.com/client-snippet/index.js"></script>
Main tracking script for capturing user interactions
View ScriptInteractive heatmap overlay for visualizing data
View Scriptwindow.IntentMapConfig = {
// API Configuration
apiEndpoint: 'https://your-api-server.com/api',
// Tracking Options
trackingEnabled: true, // Master switch
trackClicks: true, // Track mouse clicks
trackScrolls: true, // Track scroll events
trackMousemove: false, // Track mouse movement (high volume)
// Performance Settings
batchSize: 10, // Events per batch
flushInterval: 5000, // Send interval (ms)
// Development
debug: false, // Console logging
autoInit: true // Auto-start tracking
};
Drag this link to your bookmarks bar to overlay heatmaps on any page:
javascript:(function(){var script = document.createElement('script');script.src = 'https://your-cdn-url.com/heatmap-overlay/overlay.js';script.setAttribute('data-auto-init', 'true');document.head.appendChild(script);})();
No personally identifiable information (PII) is collected by default.